<html>
<body>
<iframe width="400" height="400" id="m"></iframe><br/>
<textarea style="width:400px;height:200px;" id="eee"></textarea>
<script language="javascript">
function out(line){
	eee.innerText+="\n"+line;
	}

var ok=false
function init(){
	if (ok){
	m.document.childNodes(0).setAttribute("xmlns:v","urn:schemas-microsoft-com:vml")
	m.document.createStyleSheet("m.css")
	m.document.write("<v:line to=100,100></v:line>")
	}else{ok=true}
	}
m.document.onreadystatechange=init;
//.appendElement(o);
</script>
</body>
</html>